<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ page import="java.util.*,model.*,control.*,util.*"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>删除事务通知</title>
</head>
<body>
	<%
	request.setCharacterEncoding("utf-8");
	int id = ParamUtil.getInt(request,"id",0);

	Huodong huodong = new Huodong();
	HuodongControl sc = new HuodongControl();
	
	if(sc.deleteHuodong(id))
	{
	%>
	 <script language="javascript">
     alert("删除成功");
     window.location.href="../guanliyuan/xiaoshelian_xiaoxiguanli_h.jsp";
     </script>
     
     <%
     } 
     else{%>
      <script language="javascript">
     alert("删除失败");
     window.location.href="../guanliyuan/xiaoshelian_xiaoxiguanli_h.jsp";
     </script>		
		
		
	<%} %>

<div>正在删除请稍等……</div>

</body>
</html>